<%@ page contentType="text/html" %>
<%@ page pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ include file="header.jsp" %>

<div>
	<h3>Your account info</h3>
	<table>
		<tr>
			<td>Username:</td>
			<td><c:out value="${user.name}"/></td>
			<td><a href="../user/changeName"><img src="../../resources/edit.png"/></a></td>
		</tr>
		<tr>
			<td>Email:</td>
			<td><c:out value="${user.mail}"/></td>
			<td><a href="../user/changeMail"><img src="../../resources/edit.png"/></a></td>
		</tr>
		<tr>
			<td>Password:</td>
			<td>********</td>
			<td><a href="../user/changePassword"><img src="../../resources/edit.png"/></a></td>
		</tr>
	</table>
	<br/>
	<p>View a list of your recently played games <a href="../subscription/listOld">here</a></p>
	<br/>
	<br/>
	<h3>Achievements</h3>
</div>

<%@ include file="footer.jsp" %>